<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>dbus</Name>
        <Homepage>http://dbus.freedesktop.org/</Homepage>
        <Packager>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <License>AFL-2.1</License>
        <IsA>service</IsA>
        <Summary>A message bus system, a simple way for applications to talk to each other</Summary>
        <Description>D-Bus supplies both a system daemon (for events such as "new hardware device added" or "printer queue changed") and a per-user-login-session daemon (for general IPC needs among user applications). Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). Currently the communicating applications are on one computer, but TCP/IP option is available and remote support planned.</Description>
        <Archive sha1sum="09e90abe435ac3bd8d2d6d1fafc886b0d97c8185">https://dbus.freedesktop.org/releases/dbus/dbus-1.13.18.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>expat-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libcap-ng-devel</Dependency>
            <Dependency>autoconf-archive</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>docbook-xml</Dependency>
        </BuildDependencies>
        <Patches>
        <Patch>dbus-elogind.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>dbus</Name>
        <IsA>postOps</IsA>

        <RuntimeDependencies>
            <Dependency>expat</Dependency>
            <Dependency>libcap-ng</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/dbus-1</Path>
            <Path fileType="data">/etc/machine-id</Path>
            <Path fileType="config">/etc/init.d</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/dbus.conf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/xml</Path>
            <Path fileType="data">/var/run/dbus</Path>
            <Path fileType="data">/run/dbus</Path>
            <Path fileType="data">/var/lib/dbus</Path>
            <Path fileType="data">/lib/dbus</Path>
            <Path fileType="data">/lib/systemd/system</Path>
        </Files>
        <AdditionalFiles>
             <AdditionalFile owner="root" permission="0755" target="/etc/init.d/dbus">dbus.initd-r1</AdditionalFile>
             <AdditionalFile owner="root" permission="0755" target="/usr/lib/tmpfiles.d/dbus.conf">tmpfiles.conf</AdditionalFile>
             <AdditionalFile owner="root" permission="0755" target="/etc/X11/xinit/xinitrc.d/80-dbus">80-dbus</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>dbus-x11</Name>
        <PartOf>x11.util</PartOf>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/X11</Path>
            <Path fileType="executable">/usr/bin/dbus-launch</Path>
        </Files>
    </Package>
    <Package>
        <Name>dbus-devel</Name>
        <IsA>header</IsA>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for dbus</Summary>
        <RuntimeDependencies>
            <Dependency release="current">dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/dbus-1.0/include</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/usr/include/dbus-1.0/dbus/dbus-arch-deps.h">dbus-arch-deps.h</AdditionalFile>
        </AdditionalFiles>
    </Package>
    <Package>
        <Name>dbus-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for dbus</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>expat-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>expat-32bit</Dependency>
           <Dependency>elogind-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/cmake</Path>
            <Path fileType="library">/usr/lib32/dbus-1.0</Path>
            <Path fileType="data">/usr/lib32/systemd</Path>
            <Path fileType="library">/usr/lib32/libdbus-1*</Path>
        </Files>
    </Package>
    <Package>
        <Name>dbus-docs</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Documentation for dbus package.</Summary>
        <RuntimeDependencies>
            <Dependency release="current">dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <Package>
        <Name>dbus-pages</Name>
        <IsA>data:doc</IsA>
        <PartOf>system.doc</PartOf>
        <Summary>Man pages for dbus package.</Summary>
        <RuntimeDependencies>
            <Dependency release="current">dbus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man/</Path>
        </Files>
    </Package>
    <History>
      	<Update release="11">
            <Date>2020-07-05</Date>
            <Version>1.13.18</Version>
            <Comment>Dbus archlinuxtaki gibi derlendi.</Comment>
            <Name>Ali Rıza Keskin</Name>
            <Email>parduscix@yandex.ru</Email>
        </Update>
	      <Update release="10">
            <Date>2020-07-05</Date>
            <Version>1.13.18</Version>
            <Comment>Yeni sürüme göçürüldü. Eski sürümdeki postops ve diğer hatalar giderildi.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
	      <Update release="9">
            <Date>2019-12-16</Date>
            <Version>1.13.14</Version>
            <Comment>Servis dosyasındaki hata giderildi</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    	   <Update release="8">
            <Date>2019-12-16</Date>
            <Version>1.12.16</Version>
            <Comment>Yeni inary sürümü için uygun hale getirildi</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    		<Update release="7">
            <Date>2020-02-08</Date>
            <Version>1.13.12</Version>
            <Comment>Openrc servisi çakılması giderildi. 1.13.12 sürümüne yükseltildi.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-12-16</Date>
            <Version>1.12.16</Version>
            <Comment>Bu pakete ait initd dosyası düzenlendi. Paket sürümü 1.12.16'ya yükseltildi.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="4" type="security">
            <Date>2019-11-16</Date>
            <Version>1.12.12</Version>
            <Comment>Error `org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct` fixed.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2019-09-19</Date>
            <Version>1.12.12</Version>
            <Comment>Package is rebuilded and released up.</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2019-09-14</Date>
            <Version>1.12.12</Version>
            <Comment>Added dbus-arch-deps.h into devel package.</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2018-12-22</Date>
            <Version>1.12.12</Version>
            <Comment>First release</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
  </INARY>
